package org.sjm.samples.dao;


import java.util.List;

import org.sjm.samples.model.Subject;

public interface ISubjectDAO extends IBaseDAO<Subject> {
	
	public List<Subject> FindAllSubjects();
	
	public Subject getSubjectById(Integer subId);
	
	public Integer createSubject(Subject subject) throws Exception;
	
	public Integer editSubject(Subject subject) throws Exception;
	
	public Integer deleteSubject(Integer subId) throws Exception;
	
	public List<Subject> FindSubjectsByUserId(String userId);
}
